package org.zw.android.framework.http;

import java.io.InputStream;

import org.apache.http.Header;

/**
 * Http Resonse Object
 * 
 * @author zhouwei
 *
 */
public class ResponseBean {

	public static enum Status {
		SUCCESS, FAILED;
	}

	private Status 		status;
	private Header 		header ;
	private long 		length ;
	private InputStream input ;
	private String 		response;
	
	public Status getStatus() {
		return status;
	}

	public void setStatus(Status status) {
		this.status = status;
	}

	public String getResponse() {
		return response;
	}

	public void setResponse(String response) {
		this.response = response;
	}

	public Header getHeader() {
		return header;
	}

	public void setHeader(Header header) {
		this.header = header;
	}

	public InputStream getInputStream() {
		return input;
	}

	public void setInputStream(InputStream input) {
		this.input = input;
	}

	public long getLength() {
		return length;
	}

	public void setLength(long length) {
		this.length = length;
	}
	
}
